package com.myschool.server.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.Table;

@Entity
@Table(name = "test")
public class Test extends BaseEntity {
	@Column(name = "test_type")
	@Enumerated(EnumType.STRING)
	private TestType testType;

	/**
	 * @param testType
	 *            the testType to set
	 */
	public void setTestType(TestType testType) {
		this.testType = testType;
	}

	/**
	 * @return the testType
	 */
	public TestType getTestType() {
		return testType;
	}
}
